// let salary: [string, number, number, number, number] = ["王军", 5000, 5000, 4000, 60000]
// console.log(salary[0]);
// console.log(salary[1]);


// 可变元组解构
let [custname, age, address, ...rest]: [custname_: string, age_: number, address_: string, ...rest_:any[]] =
    ["wangwu", 23, "北京东路3号", "1231231", "一起飞", 21312]
// console.log(custname, age, address, rest);





export { }